import Vue from 'vue';
import App from './App.vue';

//引入store
import store from './store/index.js'

Vue.config.productionTip = false;

new Vue({
    el: '#app',
    render: h => h(App),
    //对象的简写形式
    store,
    beforeCreate() {
        Vue.prototype.$bus = this;
    }
});
